package com.lws.hellojmeter.http.bean;

/**
 * Created by Administrator on 2016/3/23.
 */
public class HttpInfo {

    private Integer sum;
    private Float rate;
    private Integer avg;
    private Integer min;
    private Integer max;
    private Integer err;

    public HttpInfo() {
        super();
    }

    public HttpInfo(Integer sum, Float rate, Integer avg, Integer min, Integer max, Integer err) {
        super();
        this.sum = sum;
        this.rate = rate;
        this.avg = avg;
        this.min = min;
        this.max = max;
        this.err = err;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Float getRate() {
        return rate;
    }

    public void setRate(Float rate) {
        this.rate = rate;
    }

    public Integer getAvg() {
        return avg;
    }

    public void setAvg(Integer avg) {
        this.avg = avg;
    }

    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public Integer getErr() {
        return err;
    }

    public void setErr(Integer err) {
        this.err = err;
    }

    @Override
    public String toString() {
        return "{\"sum\":\"" + sum + "\", \"rate\":\"" + rate + "\", \"avg\":\"" + avg +
                "\", \"min\":\"" + min + "\", \"max\":\"" + max + "\", \"err\":\"" + err + "\"}";
    }

}
